<?php
 defined('RUN')or die('No access');class Seo{private static function readFromFile($a=NULL,$b=1){$c=SCRIPTS_PATH.'backlink.inc';if(file_exists($c)){$d=fopen($c,'r');$e=fread($d,filesize($c));fclose($d);$f=0;$g=strpos($e,'|||');$h=intval(substr($e,$f,$g));$i=substr($e,$g+3);if((time()-$h>(86400*$b))||$g===FALSE){$i=Bot::get($a);$e=time()."|||".$i;$d=fopen($c,'w');fwrite($d,$e);fclose($d);}return $i;}}public static function backlink($a=NULL,$b=1){if($a===NULL)return NULL;return self::readFromFile($a,$b);}}